From: Abderrahim Kitouni Date: Thu, 11 Feb 2010 19:06:12 +0000 (+0100) Subject: fix workspace controls for RTL locales X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~10324 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2da6507a8752ad36547ffeca621a8b6fe50bce1e;p=gnome-shell.git fix workspace controls for RTL locales https://bugzilla.gnome.org/show_bug.cgi?id=584662 --- diff --git a/js/ui/overview.js b/js/ui/overview.js index 1f0ee4b9a..92847b171 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -354,7 +354,7 @@ Overview.prototype = { // place the 'Add Workspace' button in the bottom row of the grid this._workspacesBarX = this._workspacesX; - this._workspacesBarWidth = primary.width - this._workspacesBarX - WORKSPACE_GRID_PADDING; + this._workspacesBarWidth = this._workspacesWidth; this._workspacesBarY = primary.height - displayGridRowHeight; // The parent (this._group) is positioned at the top left of the primary monitor